package cn.ljlao.mall.product.goods.constant;

/**
 * @Author: LiuZhen
 * @Created: 2021/8/3 22:22
 * @Description:
 */
public class RedisKeyConstant {

    public final static String PRODUCT_MENU_THREE_LEVEL = "product_menu3";


    public final static String REDIS_LOCK_KEY = "lock";


    public final static String REDIS_DEL_KEY_SCRIPT = "if redis.call('get',KEYS[1]) == ARGV[1] then \n" +
            "   return redis.call('del',KEYS[1]) \n" +
            "else\n" +
            "   return 0 \n" +
            "end";



}
